use crate::factory::{SimpleFactory, Factory, ProductType};

mod factory;

fn main() {
    let factory = SimpleFactory::new();
    let product1 = factory.create_prodect(ProductType::Type1);
    let product2 = factory.create_prodect(ProductType::Type2);
    product1.show();
    product2.show();
}
